|
DX11 GET OBJECT BOUNDING BOX
Retrieves the (local) bounding box of the given object.
The coordinates, which are relative to the pivot point of the object, are filled out to two VECTOR3 instances.
DX11 GET OBJECT BOUNDING BOX object, minVector, maxVector, [absolute]
object Dword The object to get the bounding box corner coordinates of.
minVector Dword A vector3 that will be filled out with the minimum XYZ coordinates of the bounding box.
maxVector Dword A vector3 that will be filled out with the maximum XYZ coordinates of the bounding box.
[Optional] absolute Boolean Set to true to apply the object's current world transform to the vectors, resulting in absolute values that take rotation and scaling into account. Defaults to false.
This function does not return a value.
OBJECT Functions Menu
DX11 Function Categories
|